package com.avcdata.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

@Table(name = "user")
@Alias(value = "user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
  @Id
  private Integer id;
  @Column(name = "username")
  private String username;
  @Column(name = "password")
  private String password;

}
